package org.dromara.dao.business.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseDomain;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 文章列表对象 article
 *
 *
 * @date 2025-02-20 15:43:52
 */
@Schema(description = "商户支付订单表")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("merchant_payment")
public class MerchantPayment extends BaseDomain {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
    * 字段 [id]:
    */
    @Schema(description = "")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    /**
     * 字段 [title]: 标题
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     *
     */
    @Schema(description = "内部支付类型")
    @TableField(value = "type")
    private String type;

    @TableField(value = "payment_type")
    private String paymentType;

    @TableField(value = "payment_param")
    private String paymentParam;

    @TableField(value = "callback_time")
    private LocalDateTime callbackTime;

    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(value = "status")
    private String status;

}
